/*
 *  Copyright (c) 2022 ZhuHai Jieli Technology Co.,Ltd.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

#ifndef _FM_EMITTER_LIB_H_
#define _FM_EMITTER_LIB_H_
#include "typedef.h"

void fmtx_on();
void fmtx_off();
void fm_emitter_init(void);
void fm_emitter_set_freq(u16 fre);
void fmtx_stereo_onoff(u8 onoff);
void fm_emitter_set_ch(u8 ch);
void fm_emitter_set_power(u8 level);
void fmtx_inside_set_abw(u16 set);
void fm_emitter_set_power(u8 level);
void fm_emitter_set_data_cb(void *cb);
u8 fm_tx_ch(); // 用于防止蓝牙模式关掉FM发射的引脚
#endif

